﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;
using WinRpaLib;
using static System.Windows.Forms.VisualStyles.VisualStyleElement.ToolTip;

namespace WinRPA
{
    static class Example
    {
        static public RpaCommand[] flowlist001 = new RpaCommand[]
        {
              new RpaCommand("按下数字3", "Press", "> window[Name=\"计算器\"] > group[Name=\"数字键盘\"] > button[Name=\"三\"]",""),
              new RpaCommand("按下数字4", "Press", "> window[Name=\"计算器\"] > group[Name=\"数字键盘\"] > button[Name=\"四\"]",""),
              new RpaCommand("按下加号", "Press", "> window[Name=\"计算器\"] > group[Name=\"标准运算符\"] > button[Name=\"加\"]",""),
              new RpaCommand("按下数字3", "Press", "> window[Name=\"计算器\"] > group[Name=\"数字键盘\"] > button[Name=\"三\"]",""),
              new RpaCommand("按下数字4", "Press", "> window[Name=\"计算器\"] > group[Name=\"数字键盘\"] > button[Name=\"四\"]",""),
              new RpaCommand("按下等号", "Press", "> window[Name=\"计算器\"] > group[Name=\"标准运算符\"] > button[Name=\"等于\"]",""),
        };

        static public RpaCommand[] flowlist002 = new RpaCommand[]
        {
              new RpaCommand("输入IP地址", "Input", "> window[Name=\"远程桌面连接\"] >Edit[Name=\"计算机(C):\"]","192.168.0.3"),
              new RpaCommand("按下链接按钮", "Press", "> window[Name=\"远程桌面连接\"] >button[Name=\"连接(N)\"]","")
        };
    }
}
